import 'package:flutter/material.dart';
import 'package:proj_backend/pages/author/login.dart';
import 'package:proj_backend/pages/home.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: HomePage(),
      debugShowCheckedModeBanner: false,
      theme: buildThemeData(),
    );
  }

  /*
   * APP整体主题 
   */
  ThemeData buildThemeData() {
    return ThemeData(
      primarySwatch: Colors.blue,
    );
  }
}
